package com.zd.attgen.entity;

import java.time.LocalDate;
import java.time.LocalTime;

/**
 * 工作时间
 * @author zhang
 *
 */
public class WorkTime {
	/** 日期 */
	private LocalDate date;
	/** 上班时间 */
	private LocalTime openTime;
	/** 下班时间 */
	private LocalTime closeTime;
	/** 签到类型 */
	private CheckinType checkinType;
	
	public enum CheckinType {
		normal,
		/** 周末 */
		weekend,
		/** 节日 */
		holiday,
		/** 出差 */
		businessTravel,
		/** 请假 */
		leave,
		/** 哺乳 */
		feed
	}
	
	public LocalDate getDate() {
		return date;
	}
	public void setDate(LocalDate date) {
		this.date = date;
	}
	public LocalTime getCloseTime() {
		return closeTime;
	}
	public void setCloseTime(LocalTime closeTime) {
		this.closeTime = closeTime;
	}
	public LocalTime getOpenTime() {
		return openTime;
	}
	public void setOpenTime(LocalTime openTime) {
		this.openTime = openTime;
	}

	public CheckinType getCheckinType() {
		return checkinType;
	}
	public void setCheckinType(CheckinType checkinType) {
		this.checkinType = checkinType;
	}
}
